package com.szu.subject.ui.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.szu.subject.domains.College;

@Mapper
public interface CollegeMapper {
	public College getCollegeByPK(Long id);

	public List<College> getAllColleges();

	public int createCollege(College college);

	public int updateCollege(College college);

	public int deleteCollege(Long id) ;

	public int batchCreateColleges(List<College> colleges);

	public int batchUpdateColleges(List<College> colleges);

	public int batchDeleteColleges(List<Long> ids);
}
